package cn.getech.data.metadata.model.req.collectiontablefield;

import cn.getech.data.intelligence.common.utils.PageReq;
import cn.getech.data.intelligence.common.validator.group.AddGroup;
import cn.getech.data.intelligence.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(description = "元数据表字段信息列表请求")
@Data
public class CollectiionTableFieldListReq extends PageReq {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表编号")
    @NotNull(message = "元数据表信息id不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private Integer tableId;


    @NotNull(message = "页码不能为空")
    private Integer Page;


    @NotNull(message = "每页大小")
    private Integer Limit;


    //用户id
    private Integer UserId;


}
